function CallCrmService(soapXml) {
    var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

    if (CRM_USER == "")
        xmlhttp.open("POST", "http://" + CRM_SERVER + "/mscrmservices/2007/crmservice.asmx", false);
    else
        xmlhttp.open("POST", "http://" + CRM_SERVER + "/mscrmservices/2007/crmservice.asmx", false, CRM_USER, CRM_PASSWORD);

    xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
    xmlhttp.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/crm/2007/WebServices/RetrieveMultiple");

    try 
    {
        xmlhttp.send(soapXml);
        return xmlhttp.responseXML.xml
    }
    catch (error) 
    {       
        return "";
    }
}